<% if @user.canSeeOthersResources then %>
	<%= link_to 'shared resources', :controller=>"resources", :action=>"resourcesofuser", :id=>@user.id %>
<% end %>